home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_12_03
/
saks
/
fewer.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-01-12
|
311b
|
19 lines
Listing 5 - a derived class whose virtual functions have fewer cv-
qualifiers than the functions they override
class B
{
...
virtual const BB *f();
virtual const volatile BB &g();
...
};
class D : public B
{
...
DD *f();
const DD &g();
...
};